<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
</style>

<script>
	export default {
		onLaunch: function() {
			this.globalData.sysinfo = uni.getSystemInfoSync();
			uni.getSystemInfo({
				success: res => {
					this.globalData.statusBarHeight = res.statusBarHeight + 30;
					this.globalData.statusBarHeight1 = res.statusBarHeight * 1 + 46;

					console.log('状态栏高度:' + this.globalData.statusBarHeight);
				}
			});
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		},
		globalData: {
			sysinfo: '',
		}
	}
</script>

<style>
	page,
	.content,
	view,
	text,
	input,
	textarea,
	button,
	navigator,
	uni-page-body,
	body {
		font-family: 'Arial', sans-serif;
	}

	/* 对于 H5 平台，确保 body 也被覆盖 */
	body,
	uni-page-body {
		font-family: 'Arial', sans-serif !important;
	}

	/* 在 app.vue 或全局样式文件中添加 */
	uni-toast {
		z-index: 999999 !important;
		/* 确保层级足够高 */
	}

	/*每个页面公共css */
	.card {
		box-sizing: border-box;
		background: rgba(30, 41, 59, 0.7);
		/* backdrop-filter: blur(10rpx); */
		border-radius: 24rpx;
		border: 1rpx solid rgba(100, 116, 139, 0.3);
		box-shadow: 0 8rpx 32rpx 0 rgba(15, 23, 42, 0.3);
	}

	.input-field {
		box-sizing: border-box;
		background: rgba(255, 255, 255, 0.1);
		border: 1rpx solid rgba(255, 255, 255, 0.2);
		border-radius: 20rpx;
		padding: 10rpx 20rpx;
		color: white;
		transition: all 0.3s ease;
		width: 100%;
	}
</style>